package com.example.graduationdesignbackend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.graduationdesignbackend.dto.MerchantDto;
import com.example.graduationdesignbackend.dto.PageDto;
import com.example.graduationdesignbackend.entity.Merchant;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.graduationdesignbackend.query.MerchantQuery;
import com.example.graduationdesignbackend.res.Res;

import java.util.List;

/**
 * <p>
 * 园区周边 服务类
 * </p>
 *
 * @author yuze
 * @since 2024-04-21
 */
public interface IMerchantService extends IService<Merchant> {
    Res<String> createMerchant(MerchantDto merchantDto);

    Res<String> editMerchant(MerchantDto merchantDto);

    PageDto<Merchant> getMerchantPage(MerchantQuery merchantQuery);

    List<Merchant> getMerchantList();
}
